

#include "stdcoutappender.h"

namespace vlog
{

StdOutLogAppender::StdOutLogAppender() : LogAppender(std::make_shared<LogFormatter>())
{
}

void StdOutLogAppender::WriteLog(event::LogEvent::ptr pEvent)
{
    if (m_pLogFormater)
    {
        m_pLogFormater->Formatter(std::cout, pEvent);
    }
}

} // namespace vlog
